#!/bin/bash

sed -i 's!\${SPEECH_SERVER_URL}!'"$SPEECH_SERVER_URL"'!' /home/application.yml
sed -i 's!\${SPEECH_SERVER_STREAM_URL}!'"$SPEECH_SERVER_STREAM_URL"'!' /home/application.yml
sed -i 's!\${LICENSE_SERVER_URL}!'"$LICENSE_SERVER_URL"'!' /home/application.yml
java -jar insmess-speech.jar